package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 车辆费用单收票信息对象 erp_car_cost_invoice_info
 *
 * @author cxl
 * @date 2024-09-08
 */
@TableName ("erp_car_cost_invoice_info")
@ApiModel (value = "车辆费用单收票信息", description = "车辆费用单收票信息")
@Data
public class CarCostInvoiceEntity {

    /** 主键id */
    @TableId (type = IdType.INPUT)
    private String id;

    /** 车辆费用单id */
    @ApiModelProperty ("车辆费用单id")
    @TableField ("car_cost_id")
    @Excel (name = "车辆费用单id")
    private String carCostId;

    /** 行号 */
    @ApiModelProperty ("行号")
    @TableField ("line_number")
    @Excel (name = "行号")
    private String lineNumber;

    /** 收票单 */
    @ApiModelProperty ("收票单")
    @TableField ("ticket_receipt")
    @Excel (name = "收票单")
    private String ticketReceipt;

    /** 发票代码 */
    @ApiModelProperty ("发票代码")
    @TableField ("invoice_code")
    @Excel (name = "发票代码")
    private String invoiceCode;

    /** 发票号码 */
    @ApiModelProperty ("发票号码")
    @TableField ("invoice_number")
    @Excel (name = "发票号码")
    private String invoiceNumber;

    /** 销售方名称 */
    @ApiModelProperty ("销售方名称")
    @TableField ("sales_name")
    @Excel (name = "销售方名称")
    private String salesName;

    /** 开票日期 */
    @ApiModelProperty ("开票日期")
    @TableField ("invoicing_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "开票日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date invoicingTime;

    /** 不含税金额 */
    @ApiModelProperty ("不含税金额")
    @TableField ("excluding_tax_amount")
    @Excel (name = "不含税金额")
    private String excludingTaxAmount;

    /** 税率 */
    @ApiModelProperty ("税率")
    @TableField ("tax_rate")
    @Excel (name = "税率")
    private String taxRate;

    /** 价税合计 */
    @ApiModelProperty ("价税合计")
    @TableField ("total_price_tax")
    @Excel (name = "价税合计")
    private String totalPriceTax;

    /** 发票状态 */
    @ApiModelProperty ("发票状态")
    @TableField ("invoice_status")
    @Excel (name = "发票状态")
    private String invoiceStatus;

    /** 是否勾选 */
    @ApiModelProperty ("是否勾选")
    @TableField ("is_check")
    @Excel (name = "是否勾选")
    private String isCheck;

    /** 是否勾选认证 */
    @ApiModelProperty ("是否勾选认证")
    @TableField ("is_check_auth")
    @Excel (name = "是否勾选认证")
    private String isCheckAuth;

    /** 查验状态 */
    @ApiModelProperty ("查验状态")
    @TableField ("check_status")
    @Excel (name = "查验状态")
    private String checkStatus;

    /** 发票是否修改 */
    @ApiModelProperty ("发票是否修改")
    @TableField ("invoice_is_update")
    @Excel (name = "发票是否修改")
    private String invoiceIsUpdate;

    /** 发票类别 */
    @ApiModelProperty ("发票类别")
    @TableField ("invoice_type")
    @Excel (name = "发票类别")
    private String invoiceType;

    /** 是否可用 */
    @ApiModelProperty ("是否可用")
    @TableField ("is_used")
    @Excel (name = "是否可用")
    private Integer isUsed;

    /** 创建人 */
    @ApiModelProperty ("创建人")
    @TableField ("create_by")
    @Excel (name = "创建人")
    private String createBy;

    /** 创建时间 */
    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel (name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 修改人 */
    @ApiModelProperty ("修改人")
    @TableField ("update_by")
    @Excel (name = "修改人")
    private String updateBy;

    /** 修改时间 */
    @ApiModelProperty ("修改时间")
    @TableField ("update_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;


}
